package UI.menuBar;

import java.awt.event.ActionEvent;

import javax.swing.JMenu;

public class MenuView extends JMenu{
    private javax.swing.JMenuItem jMenuViewTextMode;
    private javax.swing.JMenuItem jMenuViewGraphMode;
    private javax.swing.JMenuItem jMenuViewTree;
    private javax.swing.JMenuItem jMenuViewXMLSchema;
    private javax.swing.JMenuItem jMenuViewToolsBar;
    
    public MenuView(){
        jMenuViewTextMode = new javax.swing.JMenuItem();
        jMenuViewGraphMode = new javax.swing.JMenuItem();
        jMenuViewTree = new javax.swing.JMenuItem();
        jMenuViewXMLSchema = new javax.swing.JMenuItem();
        jMenuViewToolsBar = new javax.swing.JMenuItem();
        
        this.setText("Ver");

        jMenuViewTextMode.setText("Modo texto");
        this.add(jMenuViewTextMode);

        jMenuViewGraphMode.setText("Modo gráfico");
        jMenuViewGraphMode.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jMenuViewGraphModeActionPerformed(evt);
            }
        });
        this.add(jMenuViewGraphMode);

        jMenuViewTree.setText("Árbol");
        this.add(jMenuViewTree);

        jMenuViewXMLSchema.setText("XML Schema");
        this.add(jMenuViewXMLSchema);

        jMenuViewToolsBar.setText("Barra de herramientas");
        this.add(jMenuViewToolsBar);

    }
    

	private void jMenuViewGraphModeActionPerformed(ActionEvent evt) {
		// TODO Auto-generated method stub
		
	}
}
